// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'
import ElementUI from 'element-ui';
//引入swiper
import VueAwesomeSwiper from 'vue-awesome-swiper';
// 引入swiper样式
import "swiper/dist/css/swiper.css";
//挂载swiper
Vue.use(VueAwesomeSwiper);
// 引入icon
import './assets/iconfont/iconfont.css'
// 引入base样式
import './assets/css/base.css';
// import './assets/css/scroll-bar.less';
import './assets/font/font.css';

import {imgHost} from './config'

import axios from 'axios'
// 引入element-ui框架
Vue.use(ElementUI, { size: 'medium' }, { small: true });
import 'element-ui/lib/theme-chalk/index.css'; 

import Mint from 'mint-ui';

// 引入mint-ui框架
Vue.use(Mint);
import 'mint-ui/lib/style.css';
Vue.prototype.$http = axios;
Vue.prototype.imgHost = imgHost;

Vue.config.productionTip = false

/* eslint-disable no-new */
new Vue({
  el: '#app',
  router,
  components: { App },
  template: '<App/>'
})
